package spring.my.db.sharding.demo.utils;

import spring.my.db.sharding.demo.response.SqlOrder;

import java.io.Serializable;
import java.util.List;

public class PageAvailable implements Serializable {
    private static final long serialVersionUID = 4313054560156760140L;
    private int pageNo = 1;
    private int pageSize = 20;
    private List<SqlOrder> orders;

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<SqlOrder> getOrders() {
        return orders;
    }

    public void setOrders(List<SqlOrder> orders) {
        this.orders = orders;
    }
}
